package consts

import "time"

const (
	// DefaultPageSize 默认分页数量
	DefaultPageSize = 30

	AgencyAuthKey   = "simplifly-agency"
	AdminAuthKey    = "simplifly-admin"
	SupplierAuthKey = "simplifly-supplier"

	TokenExpireTime = time.Hour * 24
	DataCacheTime   = time.Hour * 24

	SysSuperUserRoleId      uint64 = 1
	AgencySuperUserRoleId   uint64 = 2
	SupplierSuperUserRoleId uint64 = 3

	MaxPrice int = 999999999
)

type CabinClass string

const (
	CabinClassEconomy        CabinClass = "economy"
	CabinClassPremiumEconomy CabinClass = "premium_economy"
	CabinClassFirst          CabinClass = "first"
	CabinClassBusiness       CabinClass = "business"
	//CabinClassPremiumFirst    CabinClass = "premium_first"
	//CabinClassPremiumBusiness CabinClass = "premium_business"
)

type StatementStatus string

const (
	StatementStatusPending   StatementStatus = "pending"
	StatementStatusConfirmed StatementStatus = "confirmed"
	StatementStatusVoidedS   StatementStatus = "voided"
)

type AgencyBillDownType string

const (
	AgencyBillDownTypePdf   AgencyBillDownType = "pdf"
	AgencyBillDownTypeExcel AgencyBillDownType = "excel"
)

type AirlineType string

const (
	FullServiceAirline AirlineType = "fc"
	LccAirportAirline  AirlineType = "lcc"
)
